package com.achievement.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("biz_standard")
@EqualsAndHashCode(callSuper = false)
public class StandardEntity extends CommonEntity implements Serializable {

    private static final long serialVersionUID = -2545780775361154741L;
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @Excel(name = "标准名称")
    private String name;
    @Excel(name = "标准编号")
    private String code;
    @Excel(name = "所属单位")
    private String unitId;
    @Excel(name = "标准类别")
    private String typeId;
    private String propertyId;
    @Excel(name = "所属行业")
    private String industryId;
    @Excel(name = "提交时间",dateFormat = "yyyy-MM-dd")
    private Date submitDate;
    @Excel(name = "是否已发布")
    private String isPublic;
    @Excel(name = "发布部门")
    private String publicUnit;
    @Excel(name = "发布时间",dateFormat = "yyyy-MM-dd")
    private Date publicDate;
    private String fileIds;
    @Excel(name = "备注")
    private String note;

    private String firstAuthorId;
    private String firstAuthorName;
    private String firstAuthorAccount;
    private String firstAuthorTitleId;
    private String firstAuthorSexid;
    private String firstAuthorEduLevelId;
    private String firstAuthorEduDegreeId;
    private String divisionId;
    private Integer authorNumber;
    @Excel(name = "审核状态",readConverterExp ="-2=待完善,-1=暂存,1=审批中,2=审批通过,3=审批不通过")
    private String checkstatus;

    private String checkdate;
    private String checker;
    private String authorpids;
    @Excel(name = "所有制定人")
    private String authornames;
    private String authorunitids;
    private String completedatastatus;

    private String processInstanceId;
}
